<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('计划的标准匹配修改')"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-ncWork-edit">
        <input id="planId" name="planId" th:value="${planId}" type="hidden">


        <div class="form-group">
            <label class="col-sm-3 control-label">标准：</label>
            <div class="col-sm-8">
                <select readonly id="post" name="standardId" class="form-control m-b select2-multiple">
                    <option th:each="standard:${standards}" th:value="${standard.standardId}"
                            th:text="${standard.standardName}" th:selected="${standard.flag}"></option>
                </select>
            </div>
        </div>
    </form>
    <div>
    </div>
</div>
<div th:include="include::footer"></div>

<script th:inline="javascript" type="text/javascript">
    var prefix = ctx + "system/ncPlan";
    var c_element;
    var index = 0;
    var planId = [[${planId}]];

    $("#form-ncWork-edit").validate({
        rules: {
            xxxx: {
                required: true,
            },
        },
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/editStandard", $('#form-ncWork-edit').serialize());
        }
    }
</script>
</body>
</html>
